<!DOCTYPE html>
<html  xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta charset="utf-8">
		<title>大数据管理平台</title>
		<meta charset="UTF-8">
		<link href="../css/BigData.css" rel="stylesheet" type="text/css" />
		<link href="../css/index.css" rel="stylesheet" type="text/css" />
		<link href="../css/index01.css" rel="stylesheet" type="text/css" />
		<link href="../css/Security_operation.css" rel="stylesheet" type="text/css" />
		<link href="../css/bootstrap.min.css" rel="stylesheet" type="text/css" />
	</head>
	<body>
		<div class="data_bodey">
			<div class="index_nav">
				<ul style="height: 30px; margin-bottom: 0px;">
					<li class="l_left total_chose_pl  nav_active">统计分析一</li>
					<li class="l_left total_chose_pl">统计分析二</li>
					<li class="r_right total_chose_pl">统计分析三</li>
					<li class="r_right total_chose_pl">统计分析四</li>
					<li class="r_right total_chose_pl">统计分析五</li>
				</ul>
				<div class="total_chose_box">
					<div style="height: 32px;"></div>
					<span class="chose_tltle">请选择年份：</span>
					<select class="year_chose">
						<option>2017</option>
						<option>2016</option>
						<option>2015</option>
						<option>2014</option>
						<option>2013</option>
						<option>2012</option>
					</select>
					<span class="chose_tltle">请输入月份：</span>
					<input class="chose_text_in">
					<button class="chose_enter">确定</button>
				</div>
				<div class="clear"></div>
			</div>
			<div class="index_tabs">
				<div class="inner">
					<div class="data_left03">
						<div class="dataAllNo01 maginS01">
							<div class="dataAllBorder01">
								<div class="dataAllBorder02">
									<div class="data_tit3">在训班级整体情况分析</div>
									<table class="table_data01" id="classTb">
										<tr>
											<td>班级名称</td>
											<td>在训人数</td>
											<td>项目经理</td>
											<td>重点关注人数</td>
											<td>课程阶段</td>
										</tr>
									</table>
									<p class="data_chart01" id="zhanbi02"></p>
								</div>
							</div>
						</div>
					</div>
					<div class="data_left04">

						<!--style="margin-top: 6.3%"-->
						<div class="dataAllNo01">
							<div class="dataAllBorder01">
								<div class="dataAllBorder02">
									<div class="data_tit3">各班级作业情况分析</div>
									<table class="table_data02">
										<tr>
											<td class="font07">完成率</td>
											<td class="font03" id="completeRate">80%</td>
											<td class="font07">提交率</td>
											<td class="font02" id="submitRate">50%</td>
										</tr>
										<tr>
											<td class="font07">完成率低于40%占比</td>
											<td class="font01" id="lt40Rate">10%</td>
											<td class="font07" >完成率高于80%占比</td>
											<td class="font01" id="gt80Rate">464.15%</td>
										</tr>
									</table>
									<p class="zhanleft02" id="allAly03"></p>
									<table class="table_data_ex" id="classTb2">
										<caption class="font04">本周核心作业完成率低于40%学员列表</caption>
										<tr>
											<td>姓名</td>
											<td>班级</td>
											<td>核心作业完成率</td>
											<td>课程阶段</td>
											<td>完善措施</td>
										</tr>

									</table>
								</div>
							</div>
						</div>
					</div>
					<div class="data_left03">
						<div class="dataAllNo01 maginS01">
							<div class="dataAllBorder01">
								<div class="dataAllBorder02">
									<div class="data_tit3">各班级考核情况分析</div>
										<table class="table_data02" >
											<tr>
												<td class="font07">本周总成绩</td>
												<td class="font03" id="countScore">无</td>
												<td class="font07">平均成绩</td>
												<td class="font02" id="avg">无</td>
											</tr>
										</table>
										<!--班级平均成绩图表-->
										<div id="allAly04" style="width: 90%; height: 45%;margin-top: 10px;"></div>
										<!--A/B/C/D类学员图表-->
										<div id="allAly05" style="width: 90%; height: 45%;margin-top: 10px;"></div>
									</div>
								</div>
							</div>
						</div>
					</div>
				<!-----------项目扩展功能---------------->
				<div class="inner" style="display: none">
					<div class="clear"></div>
					<div class="data_left05">
						<div class="dataAllNo02 ">
							<div class="dataAllBorder01">
								<div class="dataAllBorder02">
									<div class="data_tit">当周项目经理发布作业次数</div>
									<div style="width: 600px; height: 400px;" id="shijian01">

										<div id="chart1" style="width: 90%; height: 45%;margin-top: 10px;"></div>
									</div>
								</div>
							</div>

						</div>
					</div>
					<div class="data_left05">
						<div class="dataAllNo02 ">
							<div class="dataAllBorder01">
								<div class="dataAllBorder02">
									<div class="data_tit">学员各省就业空间展示</div>
									<div style="width: 400px; height: 250px;
									     margin-left: 25%; margin-top: 30px"
										 id="shijian03"></div>
								</div>
							</div>

						</div>
					</div>
					<div class="clear"></div>
					<div class="data_left05">
						<div class="dataAllNo02">
							<div class="dataAllBorder01">
								<div class="dataAllBorder02">
									<div class="data_tit">当周各班级考核次数</div>
									<div style="width: 400px; height: 300px;
									     margin-left: 25%; margin-top: 20px"
										 id="shijian02"></div>
								</div>
							</div>
						</div>
					</div>

					<div class="data_left05">
						<div class="dataAllNo02">
							<div class="dataAllBorder01">
								<div class="dataAllBorder02">
									<div class="data_tit">学员空间定位信息</div>
									<div style="width: 400px; height: 250px;
									     margin-left: 25%; margin-top: 30px"
										 id="shijian04">
									</div>
								</div>
							</div>
						</div>
					</div>

				 </div>
				<!-----------项目扩展功能---------------->
			</div>
		</div>
	</body>
</html>


<script src="../js/echarts.min.js"></script>
<script src="../js/jquery.js"></script>
<script src="../js/index.js"></script>
<script src="../js/bmap.js"></script>
<script src="../js/demo3.js"></script>
<script src="https://api.map.baidu.com/api?v=2.0&ak=YqoVta4fgN1sgFSpBBQBDVjRXgIGOsZf"></script>
<script type="text/javascript">
//-------------------------------------扩展功能实现----------------------------------------------------
//---------------当周项目经理发布作业次数---------------
$(function() {
	var myChart = echarts.init($("#shijian01")[0]);
	var	option = {
			tooltip: {},
			legend: {
		    	x:'left',
				orient:'vertical',
				data: ['要求发布数', '实际发布数'],
				textStyle: {
					color: "#e9ebee"
				},
			},
			radar: {
				// shape: 'circle',
				indicator: [
					{ name: 'Sales', max: 6500 },
					{ name: 'Administration', max: 16000 },
					{ name: 'Information Technology', max: 30000 },
					{ name: 'Customer Support', max: 38000 },
					{ name: 'Development', max: 52000 },
					{ name: 'Marketing', max: 25000 }
				]
			},
			series: [
				{
					name: 'Budget vs spending',
					type: 'radar',
					data: [
						{
							value: [4200, 3000, 20000, 35000, 50000, 18000],
							name: 'Allocated Budget'
						},
						{
							value: [4200, 3000, 20000, 35000, 50000, 18000],
							name: 'Actual Spending'
						}

					]
				}
			]
		};
	myChart.setOption(option);
	$.ajax({
		type:"get",
		url:"/manager/analysis/publishNum",
		dataType:"json",
		success:function(data){
			var arr1 = [];
			var arr2 = [];
			var arr3 = [];
			for(var i=0;i<data.length;i++){
				var obj = data[i];
				var num=obj.num;
				var name=obj.f_master;
				arr1[i]=num;

				var target = {};
				target.name = name;
				target.max = 7;
				arr2[i]=target;
				arr3[i]=5;
			}



			myChart.setOption({
				radar: {
					// shape: 'circle',
					indicator: arr2
				},

				series :[
					{
						data: [
							{
								value: arr1,
								name: '实际发布数',
								label: {
									show: true,
									formatter: function (params) {
										return params.value;
									}
								},
								lineStyle: {
									color: "#2481FF"
								},

								itemStyle: {
									color: "#2481FF"
								},
							},
							{
								value: arr3,
								name: '要求发布数',
								label: {
									show: true,
									formatter: function (params) {
										return params.value;
									}
								},
								lineStyle: {
									color: "#1AFFFD"
								},

								itemStyle: {
									color: "#1AFFFD"
								},


							},

						]

					}]
			})

		}
	})


});
//---------------当周项目经理发布作业次数结束---------------




//---------------当周各班级考核次数---------------
$(function() {
	var myChart = echarts.init($("#shijian02")[0]);

	const markLineOpt = {
		animation: false,

		lineStyle: {
			type: 'solid'
		},
		tooltip: {
			formatter: '标准考核次数'
		},
		data: [
			[
				{
					coord: [0, 1],
					symbol: 'none'
				},
				{
					coord: ['294', 1],
					symbol: 'none'
				}
			]
		]
	};

	var option = {
		title: {
			textStyle: {
				color: "#e9ebee"

			},
			x: 'center'

		},
		tooltip: {
			trigger: "item",
			axisPointer: {
				type: "shadow"
			}
		},
		legend: {
			orient: 'vertical',
			x: 'left',
			data:['考核次数'],
			textStyle: {
				color: "#e9ebee"

			},
		},
		calculable: false,
		xAxis: [
			{
				type: 'category',
				splitLine: {
					show: false
				},
				axisLabel: {
					textStyle: {
						color: '#fbfbff'
					}
				},
				data: [],
				axisLine:{
					show: true,
					lineStyle:{
						color:'#fffdfd',
						width:1,//这里是为了突出显示加上的
					}

				}
			}

		],
		yAxis: [{
			type: 'value',
			splitLine: {
				show: false
			},
			minInterval: 1,
			axisLabel: {
				textStyle: {
					color: '#ffffff',
					align: 'right'
				}
			},
			axisLine:{
				show: true,
				lineStyle:{
					color:'#fffdfd',
					width:1,//这里是为了突出显示加上的
				}

			}
		}],
		grid: {
			borderWidth: 0
		},
		series: [{
			name:'考核次数',
			type: 'scatter',
			data: [],
			itemStyle: {
				normal: {
					color: '#20f8ff'
				}
			},
			markLine: markLineOpt
		}]

	};
	myChart.setOption(option);
	$.ajax({
		type:"get",
		url:"/manager/analysis/assessMent",
		dataType:"json",
		success:function(data){

			var x=[];
			var num=[];
			for(var i = 0; i < data.length; i++){
				x[i]=data[i].f_classname;
				num[i]=data[i].num;
			}
			myChart.setOption({
				xAxis: [{
					data: x
				}],
				series :[{
						data: num
					}]
			})
		}
	})
});

//---------------当周各班级考核次数结束---------------



//---------------学员空间定位信息---------------


//---------------学员空间定位信息结束---------------








//-------------------------------------扩展功能结束----------------------------------------------------



	//发送异步请求，获取班级信息列表
	$(function(){
		$.ajax({
			url:"/manager/analysis/listClssesInfo",
			type:"get",
			dataType:"json",
			success:function (data) {
				//局部刷新表格数据
				console.log(data);
				if(data != null){
					$.each(data,function (index,item) {
						$("#classTb").append("<tr>" +
								"<td>"+item.f_classname+"</td>" +
								"<td>"+item.f_remainum+"</td>" +
								"<td>"+item.f_mastername+"</td>" +
								"<td>"+(item.num == undefined ? 0 : item.num)+"</td>" +
								"<td>"+item.f_progress+"</td>" +
								"</tr>");
					});
				}
			}
		});
	});
//-------------------------------------在训班级情况分析图表开始--------------------------------------------------
	$(function() {
		var myChart = echarts.init($("#zhanbi02")[0]);
		var option = {
			title: {
				text: '在训班级整体情况分析',
				textStyle: {
					color: "#e9ebee"

				},
				x: 'center'

			},
			tooltip: {
				trigger: "axis",
				axisPointer: {
					type: "shadow"
				}
			},
			legend: {
				orient: 'vertical',
				x: 'left',
				data:['在训人数',"重点关注"],
				textStyle: {
					color: "#e9ebee"

				},
			},
			calculable: false,
			xAxis: [
				{
					type: 'category',
					splitLine: {
						show: false
					},
					axisLabel: {
						textStyle: {
							color: '#a4a7ab'
						}
					},
					data: ['java293', 'java294', 'java295', 'java296','java297','java298']
				}
			],
			yAxis: [{
				type: 'value',
				splitLine: {
					show: false
				},
				axisLabel: {
					interval: 'auto',
					textStyle: {
						color: '#a4a7ab',
						align: 'right'
					}
				},
				axisLine:{
					show: true
				}
			}],
			grid: {
				borderWidth: 0
			},
			series: [{
				name: '在训人数',
				type: 'line',
				data: [50, 20, 40, 87, 75, 67],
				itemStyle: {
					normal: {
						color: '#2481ff'
					}
				},
				markPoint: {
					data: [
						{ type: 'max', name: 'Max' },
						{ type: 'min', name: 'Min' }
					]
				},
				markLine: {
					data: [{ type: 'average', name: 'Avg' }]
				}

			},
			{
				name: '重点关注',
				type: 'line',
				data: [80, 75, 90, 100, 60, 88],
				itemStyle: {
					normal: {
						color: '#1afffd'
					}
				},
				markPoint: {
					data: [{ type: 'min', name: 'Min' },
						   { type: 'max', name: 'Max' }]
				},
				markLine: {
					data: [
						{ type: 'average', name: 'Avg' },
					]
				}

			}]

		};
		myChart.setOption(option);
		$.ajax({
			type:"get",
			url:"/manager/analysis/listClssesInfo",
			dataType:"json",
			success:function(data){

				var x=[];
				var remainum=[];
				var num=[];
				for(var i = 0; i < data.length; i++){
					x[i]=data[i].f_classname;
					remainum[i]=data[i].f_remainum;
					num[i]=data[i].num;
				}
				console.log("**********");
				console.log("*****"+x);
				myChart.setOption({
					xAxis: [{
						data: x
					}],
					series :[
						{
							data: remainum
						},
						{
							data: num
						}]
				})
			}
		})
	});
	//-------------------------------------在训班级情况分析图表结束--------------------------------------------------

	//核心作业提交率和完成率统计图标展示
	$(function() {

		//作业情况分析-完成率、提交率、完成率低于40%占比、完成率高于80%占比
		$.ajax({
			type:"get",
			url:"/manager/analysis/exRate",
			success:function (data){
				console.log(data);
				if(data!=null){
					$("#completeRate").text(data.finish_rate+"%");
					$("#submitRate").text(data.submit_rate+"%");
					$("#lt40Rate").text(data.lt40_rate+"%");
					$("#gt80Rate").text(data.gt80_rate+"%");
				}
			}
		})


		//作业情况分析-柱状图
		var myChart = echarts.init($("#allAly03")[0]);
		option = {
			title: {
				text: '本周核心作业提交率和完成率统计',
				textStyle: {
					color: "#e9ebee"

				},
				x: 'center'

			},
			tooltip: {
				trigger: "axis",
				axisPointer: {
				  type: "shadow"
				}
			},
			legend: {
				orient: 'vertical',
				x: 'left',
				data:['提交率',"完成率"],
				textStyle: {
					color: "#e9ebee"

				},
			},
			calculable: false,
			xAxis: [{
				type: 'category',
				splitLine: {
					show: false
				},
				axisLabel: {
					formatter: '{value} ',
					textStyle: {
						color: '#a4a7ab',
						align: 'right'
					}
				},
				 data: ["java293","java294","java295","java296","java297","java298"]
			}],
			yAxis: [{
				type: 'value',
				splitLine: {
					show: false
				},
				axisLabel: {
					interval: 'auto',
					formatter: '{value} %',
					textStyle: {
						color: '#a4a7ab',
						align: 'right'
					}
				},
				axisLine:{
					show: true
				}
			}],
			grid: {
				borderWidth: 0
			},
			series: [{
					name: '完成率',
					type: 'bar',
					data: [50, 20, 40, 87, 75, 67],
					itemStyle: {
						normal: {
							color: '#2481ff'
						}
					},
					markPoint: {
						data: [{
								type: 'max',
								name: '最大值'
							},
							{
								type: 'min',
								name: '最小值'
							}
						]
					},
					markLine: {
						data: [{
							type: 'average',
							name: '平均值'
						}]
					}
				},
				{
					name: '提交率',
					type: 'bar',
					 data: [80, 75, 90, 100, 60, 88],
					itemStyle: {
						normal: {
							color: '#1afffd'
						}
					},
					markPoint: {
						data: [{
								type: 'max',
								name: '最大值'
							},
							{
								type: 'min',
								name: '最小值'
							}
						]
					},
					markLine: {
						data: [{
							type: 'average',
							name: '平均值'
						}]
					}
				}
			]
		};
		myChart.setOption(option);

		//作业情况分析-柱状图
		$.ajax({
			type:"get",
			url:"/manager/analysis/classSubAndFin",
			dataType:"json",
			success:function(data){
				console.log(data);
				var arr1 = [];
				var arr2 = [];
				var arr3 = [];
				for(var i=0;i<data.length;i++){
					var obj = data[i];
					var classname="java"+obj.classname;
					var submit_rate=obj.submit_rate;
					var finish_rate=obj.finish_rate;
					arr1[i]=classname;
					arr2[i]=submit_rate;
					arr3[i]=finish_rate;
				}
				console.log(arr1);
				console.log(arr2);
				console.log(arr3);

				myChart.setOption({
					xAxis: {
						data: arr1
					},
					series :[
						{
							name: "提交率",
							data: arr2
						},
						{
							name: "完成率",
							data: arr3
						}]
				})
			}
		})

		//作业情况分析-本周核心作业完成率低于40%学员列表
		$.ajax({
			type:"get",
			url:"/manager/analysis/studentsLt40",
			dataType:"json",
			success:function (data){
				console.log(data);
				if(data!=null){
					$.each(data,function (index,item){

						$("#classTb2").append("<tr>" +
								"<td>"+item.f_name+"</td>\n" +
								"<td>"+item.f_classname+"</td>\n" +
								"<td>"+item.f_core+"</td>\n" +
								"<td>"+item.f_progress+"</td>\n" +
								"<td>"+(item.f_suggestion == null ? "" : item_f_suggestion)+"</td>\n" +
								"</tr>")
					})
				}
			}
		})


	});

	//各班级平均成绩
	$(function(){
		var myChart = echarts.init($("#allAly04")[0]);
		option = {
		    title: {
		        text: '本周各班级平均成绩',
		        left: 'center',
				textStyle:{
					color: "white",
					fontWeight: "bold",
				}
		    },
		    tooltip: {
		        trigger: 'item'
		    },
			legend: {
				orient: 'vertical',
				left: 'left',
				textStyle: {
					color: "#e9ebee"
				},
			},
		    series: [
		        {
		            name: '平均成绩',
		            type: 'pie',
		            radius: '50%',
		            data: [
		                {value: 80, name: 'java297'},
		                {value: 75, name: 'java230'},
		                {value: 35.4, name: '大数据'},
		                {value: 86, name: 'java299'},
		                {value: 90, name: 'java289'}
		            ],
		            emphasis: {
		                itemStyle: {
		                    shadowBlur: 10,
		                    shadowOffsetX: 0,
		                    shadowColor: 'rgba(0, 0, 0, 0.5)'
		                }
		            }
		        }
		    ]
		};
		myChart.setOption(option);

		//发送异步请求，获取当前在训班级的平均成绩
		$.ajax({
			type:"get", //向后台发送请求的方式
			url:"/manager/analysis/assessmentAnalysisPie", //向后台请求的url地址
			dataType:"json", //服务器返回的数据类型
			success:function(data){
				//异步交互成功的回调函数，data就是后台返回的json数据
				console.log(data);
				//声明数组
				var arr = [];
				//循环遍历服务器返回的数组对象
				for(var i = 0; i < data.length; i++){
					//获取每一个数组元素
					var  obj = data[i];
					//获取obj对象的属性值
					var classname = obj.f_classname;
					var avg_score = obj.score_avg;
					//声明对象
					var target = {};
					target.name = classname;
					target.value = avg_score;
					arr[i] = target;
				}
				console.log(arr);
				myChart.setOption({
					series: [{
						data: arr
					}]
				});
			},
			error:function(){
				alert("异步交互失败~");
			}
		});



	});
	//A/B/C/D类学员图表
	$(function(){
		var myChart = echarts.init($("#allAly05")[0]);
		option = {
		    title: {
		        text: '学员等级',
				textStyle:{
					color: "white",
					fontWeight: "bold",
				},
				x:"left"
		    },
		    tooltip: {
		        trigger: 'item'
		    },
		    legend: {
				x: 'center',
				textStyle: {
					color: "#e9ebee"
				},
		    },

		    series: [
		        {
		            name:'学员等级',
		            type:'funnel',
		            left: '5%',
		            top: 60,
		            bottom: 60,
		            min: 0,
		            max: 100,
		            minSize: '0%',
		            maxSize: '100%',
		            sort: 'descending',
		            gap: 2,
		            label: {
		                show: true,
		                position: 'inside'
		            },
		            labelLine: {
		                length: 10,
		                lineStyle: {
		                    width: 1,
		                    type: 'solid'
		                }
		            },
		            itemStyle: {
		                borderColor: '#fff',
		                borderWidth: 1
		            },
		            emphasis: {
		                label: {
		                    fontSize: 20
		                }
		            },
		            data: [
		                {value: 60, name: 'E类'},
		                {value: 40, name: 'D类'},
		                {value: 20, name: 'C类'},
		                {value: 80, name: 'B类'},
		                {value: 100, name: 'A类'}
		            ]
		        }
		    ]
		};
		myChart.setOption(option);

		//发送异步请求，获取当前在训班级的平均成绩
		$.ajax({
			type:"get", //向后台发送请求的方式
			url:"/manager/analysis/assessmentAnalysisfunnel", //向后台请求的url地址
			dataType:"json", //服务器返回的数据类型
			success:function(data){
				//异步交互成功的回调函数，data就是后台返回的json数据

				console.log(data);
				//声明数组
				var arr = [];
				//循环遍历服务器返回的数组对象
				var i =0;
				//一个一个的遍历出来，遍历对象，是不能通过for循环遍历，但是for-in可实现
				for(var j=0;j<data.length;j++){

					for(var key in data[j]){
						var target = {};
						target.name = key;
						target.value = data[j][key];
						arr[i] = target;
						i++;
					}

				}

				console.log(arr);
				myChart.setOption({
					series: [{
						data: arr
					}]
				});
			},
			error:function(){
				alert("异步交互失败~");
			}
		})

		//所有在训班级当周总成绩和平均成绩
		$.ajax({
			type:"get",
			url:"/manager/analysis/countScoreAndAvg",
			dataType:"json",
			success:function (data){

				//console.log(data);
				if(data!=null){
					$("#countScore").text(data.score_sum);
					$("#avg").text(data.score_avg);
				}
			}
		})

	});

	/*-----------------------------------雷达图开始-------------------------------------------*/
	$(function(){
		var myChart = echarts.init($("#shijian01")[0]);
		option = {
			 title: {
			 	text: '当周项目经理发布作业次数',
				 textStyle: {
					 color: "#e9ebee"

				 },
			 },

			legend: {
				data: ['预计发布作业次数', '实际作业发布次数'],
				orient: 'vertical',
				left:'left',
				textStyle: {
					color: "#e9ebee"
				},
			},
			radar: {
				// shape: 'circle',
				indicator: [
					{ name: 'zs', max: 5},
					{ name: 'ls', max: 5},
					{ name: 'ww', max: 5},
					{ name: 'zl', max: 5},
					{ name: 'xx', max: 5},
				]
			},
			series: [
				{
					name: '发布作业次数',
					type: 'radar',
					data: [
						{
							value: [5, 5, 5, 5, 5],
							name: '预计发布作业次数'
						},
						{
							value: [1, 2, 4, 5, 2],
							name: '实际作业发布次数'
						}
					]
				}
			]
		};
		myChart.setOption(option);
		$.ajax({
			type: "get", //向后台发送请求的方式
			url: "/manager/analysis/homeworkPublishTimes", //向后台请求的url地址
			dataType: "json", //服务器返回的数据类型
			success: function (data) {
				//异步交互成功的回调函数，data就是后台返回的json数据
				console.log(data);

				var arr1 = [];
				var arr2 = [];
				//循环遍历服务器返回的数组对象
				for (var i = 0; i < data.length; i++) {
					var obj = data[i];
					arr1[i] = obj.f_master;
					arr2[i] = obj.num;
				}
				console.log(arr1);
				console.log(arr2);
				myChart.setOption({
					legend: {
						left: "80%",
						data: ['发布作业次数', '实际发布次数']
					},
					radar: {
						indicator: [
							{name: arr1[0], max: 5},
							{name: arr1[1], max: 5},
							{name: arr1[2], max: 5},
							{name: arr1[3], max: 5},
							{name: arr1[4], max: 5},
						]
					},
					series: [
						{
							data: [
								{
									value: [5, 5, 5, 5, 5],
									name: '发布作业次数'
								},
								{
									value: arr2,
									name: '实际发布次数'
								}
							]
						}
					]
				});
			},
		})
	});
	/*-----------------------------------雷达图结束-------------------------------------------*/


</script>
